# Auther：wujehy
# email:wujehy@qq.com
# @File : urls.py
# @Time : 19-6-20 下午4:08
from django.conf.urls import url

from .views import Views

web = Views()
app_name = 'GeeJoans'
urlpatterns = [
    url(r'^register$', web.registerView, name='register'),
    url(r'^login$', web.myloginView, name='login'),
    # url(r'^testView$', web.getDataAtoBView, name="test"),
    url(r'logout$', web.myloginView, name="logout"),
    # url(r'^test/(?P<openid>\w+)/$', web.Test, name="test"),
    url(r'^upload/(?P<panid>\w+)/$', web.uploadDataView, name="upload"),
    url(r'^control/(?P<panid>\w+)/$', web.controlDataView, name="control"),
    url(r'^status/(?P<panid>\w+)/$', web.StatusView, name="status"),

    url(r'^Project/(?P<Type>\w+)/$', web.ProjectManage, name="Project"),
    url(r'^Device/(?P<Type>\w+)/$', web.DeviceManage, name="Device"),
]
